package com.platform.dao;

import com.platform.entity.ComboVo;
import com.platform.entity.SurveyVo;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

public interface ApiSurveyMapper extends BaseDao<SurveyVo>{

    List<Map<String, Object>> getUserSurveyAnswer(String userId);

    List<Map<String, Object>> getTagByHandAnswer(List<Map<String, Object>> handAnswerList);

    List<Map<String, Object>> getComboByTag(@Param("week") String week, @Param("list") List<Map<String, Object>> tagByHandAnswerList);

    List<Map<String, Object>> getComboById(@Param("id") Integer id);
}
